package com.ruoyi.mes.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领料信息对象 pick_info
 *
 * @author LongAndHao
 * @date 2023-04-04
 */
public class PickInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 领料编码 */
    @Excel(name = "领料编码")
    private String pickCode;

    /** 车间任务ID */
    @Excel(name = "车间任务ID")
    private Long wkspTaskId;

    /** 物料编码 */
    @Excel(name = "物料编码")
    private String mtrCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String mtrName;

    /** 需领料数量 */
    @Excel(name = "需领料数量")
    private Long pickQuantity;

    /** 是否领料 0 - 未领料 1 - 已领料 */
    @Excel(name = "是否领料")
    private Long ispicked;

    /** 是否派遣 0 -未派遣 1- 已派遣 */
    @Excel(name = "是否派遣")
    private Long isdispatch;

    public Long getIsdispatch() {
        return isdispatch;
    }

    public void setIsdispatch(Long isdispatch) {
        this.isdispatch = isdispatch;
    }

    /** 车间任务编码 */
    private String wkspCode;

    public String getWkspCode() {
        return wkspCode;
    }

    public void setWkspCode(String wkspCode) {
        this.wkspCode = wkspCode;
    }

    public String getMtrCode() {
        return mtrCode;
    }

    public void setMtrCode(String mtrCode) {
        this.mtrCode = mtrCode;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPickCode(String pickCode)
    {
        this.pickCode = pickCode;
    }

    public String getPickCode()
    {
        return pickCode;
    }
    public void setWkspTaskId(Long wkspTaskId)
    {
        this.wkspTaskId = wkspTaskId;
    }

    public Long getWkspTaskId()
    {
        return wkspTaskId;
    }
    public void setMtrName(String mtrName)
    {
        this.mtrName = mtrName;
    }

    public String getMtrName()
    {
        return mtrName;
    }
    public void setPickQuantity(Long pickQuantity)
    {
        this.pickQuantity = pickQuantity;
    }

    public Long getPickQuantity()
    {
        return pickQuantity;
    }
    public void setIspicked(Long ispicked)
    {
        this.ispicked = ispicked;
    }

    public Long getIspicked()
    {
        return ispicked;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pickCode", getPickCode())
            .append("wkspTaskId", getWkspTaskId())
            .append("mtrName", getMtrName())
            .append("pickQuantity", getPickQuantity())
            .append("ispicked", getIspicked())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
